package com.unlcn.ils.kas.dao.mapper.onway;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.unlcn.ils.kas.dao.model.onway.GeelyOnWay;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GeelyOnWayMapper extends BaseMapper<GeelyOnWay> {
  List<GeelyOnWay> selectByLocationZone(@Param("timeBegin") Date timeBegin, @Param("timeEnd") Date timeEnd);

  List<GeelyOnWay> selectUnpushed(@Param("timeBegin") Date timeBegin);

  void confirmPushedBatch(@Param("vinList") List<String> vinList, @Param("pushTime") Date pushTime);

  long selectUnpushedCtByVINList(@Param("vinList") List<String> vinList);
}
